﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElingOA6_DSJCJ.Model
{
    /// <summary>
    /// 实体类docCls 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class DocCls
    {
        public DocCls()
        {
            FIsUse = 1;
            FUseSubTitle = 0;
            FIsPicNews = 0M;
            FPicHeight = 0;
            FPicWidth = 0;
            FIsPicWaterMark = 0M;
            FWaterMarkCls = "1";
            FIsHomePageShowLimit = "N";
            FHomePageShowDays = 30;
            FEditMode = "A";
            FIsNeedAudit = "N";
            FIsShowHomePageCtrl = "N";
            FDefaultShowValue = "Y";
            FIsPublicTitle = "Y";
            FIsCtrlLookAuthority = "N";
            FIsReferenceNo = "N";
            FIsNotice = "N";
            FIsRecObject = "N";
            FIsMeeting = "N";
            FWaterMarkPos = "7";
            FIsIndex = "Y";
            FLeftRightMargin = 0;
            FTopBottomMargin = 0;
            FCreateDate = DateTime.Now;
            FIsImport = "N";
            FSeq = 99;
            FIsPubJCMS = "N";
            FIsExamine = "N";
            FIsManuscript = "N";
            FIsSpecialTopic = "N";
        }
		#region Model
		/// <summary>
        /// 信息类别编号
		/// </summary>
        public string FDocClsCd
        {
            set;
            get;
        }
		/// <summary>
        /// 父类信息类别编号
		/// </summary>
        public string FPreDocClsCd
        {
            set;
            get;
        }
		/// <summary>
        /// 栏目类型
        /// 1 多信息
        /// 2 单信息
        /// 9 无信息
		/// </summary>
        public string FDocClsProp
        {
            set;
            get;
        }
		/// <summary>
        /// 信息类别名称
		/// </summary>
        public string FDocClsName
        {
            set;
            get;
        }
		/// <summary>
        /// 是否启用
		/// </summary>
        public int FIsUse
        {
            set;
            get;
        }
		/// <summary>
        /// 是否需要副标题
		/// </summary>
        public int FUseSubTitle
        {
            set;
            get;
        }
		/// <summary>
        /// 是否图片新闻类栏目
		/// </summary>
        public decimal FIsPicNews
        {
            set;
            get;
        }
		/// <summary>
        /// 首页图片高度
		/// </summary>
        public int FPicHeight
        {
            set;
            get;
        }
		/// <summary>
        /// 首页图片宽度
		/// </summary>
        public int FPicWidth
        {
            set;
            get;
        }
		/// <summary>
        /// 首页图片是否加水印
		/// </summary>
        public decimal FIsPicWaterMark
        {
            set;
            get;
        }
		/// <summary>
        /// 水印类型
		/// </summary>
        public string FWaterMarkCls
        {
            set;
            get;
        }
		/// <summary>
        /// 首页显示时效控制
		/// </summary>
        public string FIsHomePageShowLimit
        {
            set;
            get;
        }
		/// <summary>
        /// 首页显示默认天数
		/// </summary>
        public int? FHomePageShowDays
        {
            set;
            get;
        }
		/// <summary>
        /// 编辑模式
        /// H - HTML
        /// O - OFFICE
        /// A - 均可
		/// </summary>
        public string FEditMode
        {
            set;
            get;
        }
		/// <summary>
        /// 默认编辑模式
        /// H - HTML
        /// O - OFFICE
		/// </summary>
        public string FDefaultEditMode
        {
            set;
            get;
        }
		/// <summary>
        /// 是否需要审批
        /// N 未审批
        /// Y 已审批
		/// </summary>
        public string FIsNeedAudit
        {
            set;
            get;
        }
		/// <summary>
        /// 是否显示首页显示控件
		/// </summary>
        public string FIsShowHomePageCtrl
        {
            set;
            get;
        }
		/// <summary>
        /// 首页显示控件默认值
		/// </summary>
        public string FDefaultShowValue
        {
            set;
            get;
        }
		/// <summary>
        /// 是否公开标题
		/// </summary>
        public string FIsPublicTitle
        {
            set;
            get;
        }
		/// <summary>
        /// 是否控制查看权限
		/// </summary>
        public string FIsCtrlLookAuthority
        {
            set;
            get;
        }
		/// <summary>
        /// 是否启用文号
		/// </summary>
        public string FIsReferenceNo
        {
            set;
            get;
        }
		/// <summary>
        /// 是否通知公告
		/// </summary>
        public string FIsNotice
        {
            set;
            get;
        }
		/// <summary>
        /// 通知是否指定接收对象
		/// </summary>
        public string FIsRecObject
        {
            set;
            get;
        }
		/// <summary>
        /// 是否启用会务安排
		/// </summary>
        public string FIsMeeting
        {
            set;
            get;
        }
		/// <summary>
        /// 水印显示位置
		/// </summary>
        public string FWaterMarkPos
        {
            set;
            get;
        }
		/// <summary>
        /// 是否建立索引
		/// </summary>
        public string FIsIndex
        {
            set;
            get;
        }
		/// <summary>
        /// 左右边距值
		/// </summary>
        public int FLeftRightMargin
        {
            set;
            get;
        }
		/// <summary>
        /// 上下边距值
		/// </summary>
        public int FTopBottomMargin
        {
            set;
            get;
        }
		/// <summary>
        /// 栏目LOGO图片原文件名
		/// </summary>
        public string FLogoOldFileName
        {
            set;
            get;
        }
		/// <summary>
        /// 栏目LOGO图片服务器文件名
		/// </summary>
        public string FLogoNewFileName
        {
            set;
            get;
        }
		/// <summary>
        /// 栏目LOGO内容
		/// </summary>
        public byte[] FLogoImage
        {
            set;
            get;
        }
		/// <summary>
        /// 栏目首页URL
		/// </summary>
        public string FDocClsHomepage
        {
            set;
            get;
        }
		/// <summary>
        /// 创建日期
		/// </summary>
        public DateTime? FCreateDate
        {
            set;
            get;
        }
		/// <summary>
        /// 允许批量引入
		/// </summary>
        public string FIsImport
        {
            set;
            get;
        }
		/// <summary>
        /// 显示顺序
		/// </summary>
        public int FSeq
        {
            set;
            get;
        }
        /// <summary>
        /// 允许推送至JCMS
        /// </summary>
        public string FIsPubJCMS
        {
            set;
            get;
        }
        /// <summary>
        /// JCMS对应的栏目ID
        /// </summary>
        public int? FJCMSColID
        {
            set;
            get;
        }
        /// <summary>
        /// 模板ID
        /// </summary>
        public decimal? FClsTemplID
        {
            set;
            get;
        }
        /// <summary>
        /// 模板顶部图片路径
        /// </summary>
        public string FTemplTopPicPath
        {
            set;
            get;
        }
        /// <summary>
        /// 公司编码
        /// </summary>
        public string FEntityNo
        {
            set;
            get;
        }
        /// <summary>
        /// 是否统计投录稿文章
        /// Y  是
        /// N  否
        /// </summary>
        public string FIsManuscript
        {
            set;
            get;
        }
        /// <summary>
        /// 是否需要批示
        /// Y  是
        /// N  否
        /// </summary>
        public string FIsExamine
        {
            set;
            get;
        }
        /// <summary>
        /// 是否专题专栏
        /// Y  是
        /// N  否
        /// </summary>
        public string FIsSpecialTopic
        {
            set;
            get;
        }
        /// <summary>
        /// 是否需要参与投票
        /// Y  是
        /// N  否
        /// </summary>
        public string FIsVote
        {
            set;
            get;
        }
        /// <summary>
        /// 信息查看权限控制模式
        /// A - 查看权限控制到栏目（ALL）
        /// D - 查看权限控制到信息（Document）
        /// </summary>
        public string FLookAuthorityMode
        {
            set;
            get;
        }
		#endregion Model

        #region 增加的字段
        /// <summary>
        /// 是否授权
        /// </summary>
        public string IsAuthority
        {
            set;
            get;
        }

        //private string _selecthtml;

        //public string SelectHtml
        //{
        //    set
        //}
        

        #endregion
    }
}
